package com.zhijiaoyun.service.impl;

import com.zhijiaoyun.dao.IUserInfoDao;
import com.zhijiaoyun.model.UserInfo;
import com.zhijiaoyun.service.IUserInfoService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @author shisfish
 * @date 2017/12/11
 */
@Service(value = "userInfoService")
public class UserInfoServiceImpl implements IUserInfoService {

    @Resource
    IUserInfoDao userInfoDao;

    @Override
    public UserInfo getByUserId(long userId) {
        return userInfoDao.getByUserId(userId);
    }
}
